<template>
    <div class="edit_column_input_warp "  v-on:click="onClick">
         <span class="input" >{{value}}</span>
         
    </div>
   
</template>
<script>
export default {
    name:'EditColumn',
    data(){
        return {

        }
    },
   props: {
        value: [String, Number],
        params: Object,
    },
    methods:{
        onClick(){
            this.$emit('on-column-click', this.params)
        }
    }
}
</script>

<style lang="less" scoped>
  .edit_column_input_warp{
    position: relative;    
    height: 100%;
    width: 100%;
    padding-left: 5px;
    cursor: pointer;
    padding-right: 5px;
     .input{
            width: 100%;
            height: 40px;
            text-align: center;
            line-height: 40px;
            
     }
    
  }
</style>

